function npc_call() {
    var funcName = arguments[0];


    console.info("npc_call ,funcName:" + funcName);
    var def = null;
    if (funcName.indexOf(".")>=0) {
        var split = funcName.split(".");
        var temp = this;
        for (var i = 0; i < split.length; i++) {
            temp = temp[split[i]];
        }
        def = temp;
    } else {
        def = this[funcName];

    }
    if (typeof def == "undefined") {
        console.info("not find the function:{}", funcName);
        return;
    }
    var pars = [];
    for (var i = 1; i < arguments.length; i++) {
        pars.push(arguments[i]);
    }
    def.apply(this, pars);
}